<!-- 预约住院 -->
<template>
	<view class="order-hospital-wrapper">
		<form @submit="formSubmit">
			<view class="uni-common-mt">
				<view class="uni-form-item uni-column user-input">
					<view class="title">科室</view>
					<view class="input">

					</view>
				</view>
				<view class="fenjie"></view>
				<view class="uni-form-item uni-column user-input">
					<view class="title">患者</view>
					<view class="input">
						<input class="uni-input" name="patname" v-model="formData.patname" maxlength="10"
							placeholder="请选择" />
					</view>
				</view>
			</view>

			<button style="margin-top: 10px;" type="default" form-type="submit">提交信息</button>
		</form>
	</view>
</template>

<script>
	import {
		mapState,
		mapMutations,
		mapActions
	} from 'vuex'
	import graceChecker from "../../common/graceChecker.js"
	import WXBizDataCrypt from "../../common/WXBizDataCrypt.js"
	export default {
		data() {
			return {
				formData: {
					"depid": "1127",
					"cardid": "678886",
					"patname": "黄健",
					"status": "3", //1危 2急 3一般
					"date": "2023-07-23",
					"desc": "测试",
					"contacts": "黄健",
					"phone": "13768615461"
				}
			}
		},
		onLoad() {

		},
		methods: {
			formSubmit(e) {

			}
		},
	}
</script>

<style lang="scss" scoped>
	.order-hospital-wrapper {
		padding: 15px;
		
		.user-input {
			width: 335px;
			margin: 20px auto;
			display: flex;
		
			.title {
				width: 70px;
			}
		
			.input {
				width: 280px;
				margin-left: 20px;
			}
		}

		.fenjie {
			height: 1px;
			background: #ddd;
			margin: 0 auto;
		}

	}
</style>